<?php

class Semester_Form_Date extends Sfs_Form
{

	function init()
	{
		$this->addElement('text','started_date',array(
			'label'=>'started_date',
			'validators' => array('NotEmpty','date'),
			'required'=> true,
		));
		$this->addElement('text','ended_date',array(
			'label'=>'ended_date',
			'validators' => array('NotEmpty','date'),
			'required'=> true,
		));
		$this->addElement('text','opened_date',array(
			'label'=>'opened_date',
			'validators' => array('NotEmpty','date'),
			'required'=> true,
		));
		$this->addElement('text','closed_date',array(
			'label'=>'closed_date',
			'validators' => array('NotEmpty','date'),
			'required'=> true,
		));
		$this->addElement('submit','save');
	}
}